package com.mb.app.service;

import com.baomidou.mybatisplus.service.IService;
import com.mb.app.domain.TbCouponCfg;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author liliping
 * @since 2019-05-20
 */
public interface ITbCouponCfgService extends IService<TbCouponCfg> {

    public List<TbCouponCfg> queryList(Map<String, Object> map);

    public int count(Map<String, Object> map);

    public int save(TbCouponCfg TbCouponCfg);

    public int update(TbCouponCfg TbCouponCfg);

    public int remove(Long couponCfgId);

    public TbCouponCfg getDtl(Long couponCfgId);

    boolean couponCfgNameExit(Map<String, Object> params);

    public List<TbCouponCfg> queryListByType(Map<String, Object> map);
    public int countByType(Map<String, Object> map);
}
